package com.letoken.platform.repo.admin.dao;

import com.letoken.platform.repo.admin.po.AdminUserRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.letoken.platform.repo.admin.res.user.AdminUserRoleInfoRes;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 后台用户角色表 Mapper 接口
 * </p>
 *
 * @author 作者
 * @since 2022-11-25
 */
public interface AdminUserRoleMapper extends BaseMapper<AdminUserRole> {

    AdminUserRoleInfoRes selectRoleListByAdminUserId(@Param("adminUserId") Integer adminUserId);

    List<Integer> queryAdminIdListByRoleId(@Param("adminRoleId") Integer adminRoleId);
}
